﻿using Microsoft.Phone.Controls;
using DIS.WindowsPhone.Toolkit;

namespace PhoneApp1
{
    public partial class AppInfoHelperPage : PhoneApplicationPage
    {
        public AppInfoHelperPage()
        {
            InitializeComponent();

            AppInfoHelper appInfo = null;
            try
            {
                appInfo = new AppInfoHelper();
            }
            catch
            {
                return;
            }

            title.Text = appInfo.Title;
            description.Text = appInfo.Description;
            version.Text = appInfo.Version;
            publisher.Text = appInfo.Publisher;
            productID.Text = appInfo.ProductId;
            author.Text = appInfo.Author;
        }
    }
}